﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepStorage.Service.Interface
{
	public interface IChangeDormitoryService
	{

		//显示羊只转舍列表 
	 Task<PageOutput<SheepChangeDormitoryOutput>> GetChangeDormitories(string startDate, string endDate, string OverBit, int ChangedormitoryType, string outDrom, string outField, int inDrom, int inField, int pageIndex, int pageSize);


		/// <summary>
		/// 羊只转舍添加
		/// </summary>
		/// <param name="model"></param>
		/// <returns></returns>
			Task<int> AddChangeDormitory(List<SheepChangeDormitory> model);

		/// <summary>
		/// 羊只转舍删除
		/// </summary>
		/// <param name="ChangeId"></param>
		/// <returns></returns>
		Task<int> DeleteChangeDormitory(List<int> ChangeId);

		/// <summary>
		/// 羊只转舍审核
		/// </summary>
		/// <param name="ChangeId"></param>
		/// <param name="Status"></param>
		/// <returns></returns>
		    Task<int> UpdateChangeDormitoryState(int ChangeId, int Status);




		   //羊只转舍详情-反填
		    Task<SheepChangeDormitoryOutput> GetChangeDormitoryById(int ChangeDormId);

	    	//羊只转舍修改 
		 Task<int> UpdateChangeDormitory(SheepChangeDormitory model);


    }
}
